.pipe-dialog {
  position: fixed;
  right: 50%;
  margin-right: -400px;
  width: 800px;
  background: var(--bg-color);
  border-radius: 4px 0 0 4px;
  box-shadow: -2px 0 12px 0 rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  z-index: 2001;
  height: 500px;
  .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
    user-select: none;
    background: var(--bg-color);

    span {
      font-size: 14px;
      color: var(--text-color);
      font-weight: 500;
    }

    .el-icon-close {
      font-size: 16px;
      color: var(--text-color-secondary);
      cursor: pointer;
      transition: color 0.2s;

      &:hover {
        color: var(--text-color);
      }
    }
  }
  .dialog-body {
    padding: 0;
    height: 100%;
    background: var(--bg-color);
    
    .pipe-dialog-content {
      width: 100%;
      height: 100%;
      position: relative;
      
      .floating-panel {
        position: absolute;
        left: 5px;
        top: 5px;
        background: var(--bg-color);
        border-radius: 4px;
        box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
        z-index: 1000;
        overflow: hidden;
        
        .panel-header {
          padding: 8px 12px;
          background: #f5f7fa;
          border-bottom: 1px solid #e6e6e6;
          display: flex;
          justify-content: space-between;
          align-items: center;
          cursor: move;
          
          .el-icon-close {
            cursor: pointer;
            color: #909399;
            
            &:hover {
              color: #f56c6c;
            }
          }
        }
        
        .panel-content {
          padding: 12px;
          max-height: 400px;
          overflow-y: auto;

          .el-table {
            background-color: var(--bg-color);
            color: var(--text-color);
            
            th, td {
              background-color: var(--bg-color);
              border-color: var(--border-color);
            }
            
            th {
              background-color: var(--bg-hover-color);
            }
            
            tr:hover td {
              background-color: var(--bg-hover-color);
            }
          }
        }
      }
      #pipe-map {
        width: 100%;
        height: 100%;
      }
    }
  }

  .dialog-footer {
    padding: 8px 12px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    background: var(--bg-color);
  }
}